﻿using System;
using System.ComponentModel;
using System.ComponentModel.Design;
using System.Collections;
using System.Drawing;
using System.Linq;
using System.Workflow.ComponentModel.Compiler;
using System.Workflow.ComponentModel.Serialization;
using System.Workflow.ComponentModel;
using System.Workflow.ComponentModel.Design;
using System.Workflow.Runtime;
using System.Workflow.Activities;
using System.Workflow.Activities.Rules;

namespace Dropthings.Business.Workflows.WidgetWorkflows
{
    public sealed partial class GetWidgetWorkflow : SequentialWorkflowActivity
    {
        public GetWidgetWorkflowRequest Request
        {
            get { return (GetWidgetWorkflowRequest)GetValue(RequestProperty); }
            set { SetValue(RequestProperty, value); }
        }
        // Using a DependencyProperty as the backing store for Request.  This enables animation, styling, binding, etc...
        public static readonly DependencyProperty RequestProperty =
            DependencyProperty.Register("Request", typeof(GetWidgetWorkflowRequest), typeof(GetWidgetWorkflow));


        public GetWidgetWorkflowResponse Response
        {
            get { return (GetWidgetWorkflowResponse)GetValue(ResponseProperty); }
            set { SetValue(ResponseProperty, value); }
        }

        public static readonly DependencyProperty ResponseProperty =
            DependencyProperty.Register("Response", typeof(GetWidgetWorkflowResponse), typeof(GetWidgetWorkflow));

        public GetWidgetWorkflow()
        {
            InitializeComponent();
        }
    }

}
